package com.itheima.wemedia.dto;

import com.itheima.common.dto.PageRequestDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(description = "自媒体文章分页查询请求对象")
public class WmNewsPageReqDto extends PageRequestDto {

    @ApiModelProperty(notes = "状态")
    private Short status;

    @ApiModelProperty(notes = "发布开始时间")
    private Date beginPubDate;

    @ApiModelProperty(notes = "发布结束时间")
    private Date endPubDate;

    @ApiModelProperty(notes = "所属频道id")
    private Integer channelId;

    @ApiModelProperty(notes = "文章标题关键字")
    private String keyword;

    @ApiModelProperty(notes = "文章标题关键字")
    private String title;
}
